import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-editor-toolbar',
  templateUrl: './editor-toolbar.component.html',
  styleUrls: ['./editor-toolbar.component.less'],
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class EditorToolbarComponent implements OnInit {
  toolbarConfig = [
    {
      title: '撤销',
      icon: 'undo'
    },
    {
      title: '重做',
      icon: 'redo'
    },
    {
      title: '导入',
      icon: 'import',
    },
    {
      title: '导出',
      icon: 'export',
    },
    {
      title: '删除',
      icon: 'delete',
    },
    {
      title: '重置',
      icon: 'reset',
    },
    {
      title: '清空',
      icon: 'clear',
    }
  ];

  constructor() { }

  ngOnInit(): void {
  }

}
